// index.js

Page({
  data: {
    time:1000*60*60*24,
    current:0,//当前轮播图序号
    search_inp:false  // 记录搜索框下方内容的显示与隐藏
  },
  tapBack(){
    this.setData({search_inp:!this.data.search_inp})
  },
  change(e){
    console.log(e.detail)
    this.setData({current:e.detail.current})
  },
  onLoad() {

  },
  resetTime(){
    const countDown = this.selectComponent('.count-down');
    // console.log(countDown)
    countDown.reset()
  }
})
